package command.batch;

import jdbc.Jdbb;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * Created by wang.bh
 */
public class Jdbd {
    public static void main(String[] args) throws SQLException{
        Jdbb jdbb = new Jdbb();
        try (Connection conn = jdbb.getConnection()) {
            conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
            jdbb.viewTable(conn);
//            jdbb.updateAge(conn);
//            jdbb.updateAge(conn);
//            jdbb.readCommit(conn);
        }
    }
}
